#pragma once

/*

    Note: Init Method will Invoke CoInitializeEx(0, COINIT_APARTMENTTHREADED);
*/

class CFSHelper
{
public:
    CFSHelper();
    ~CFSHelper();

    static CFSHelper& GetFSHelper();

public:
    BOOL    Init();
    void    UnInit();

public:
    ULONGLONG GetFileSize(LPCTSTR szFilePath);
    ULONGLONG GetFolderSize(LPCTSTR szFolderPath);

protected:
    IFileSystemPtr  m_pFileSystem;
};